//get useragemt
isIe = navigator.userAgent.indexOf('MSIE') != -1;
isChrome = navigator.userAgent.indexOf('Chrome') != -1;
isFirefox = navigator.userAgent.indexOf('Firefox') != -1;
